package com.jiukuaidao.zhulin.module.home.contract;

import com.jiukuaidao.library.base.IBasePresenter;
import com.jiukuaidao.library.base.IBaseView;

/**
 * Author : H_Joker
 * Date : 2016/5/25
 * Description :
 */
public interface MainContract {
    int TAB_HOME = 0;
    int TAB_SORT = 1;
    int TAB_MINE = 2;

    interface View extends IBaseView<Presenter> {
        /**
         * 切换底部页签
         *
         * @param index TAB_HOME,TAB_SORT,TAB_MINE
         */
        void changeTab(int index);

        void changeCart(int count);
    }

    interface Presenter extends IBasePresenter {
    }
}
